package org.example.kafka;

import org.example.domain.DiscussPost;
import org.example.domain.User;

public class DiscussPostEvent {
    private String topic;
    private DiscussPost discussPost;
    private User publishUser;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public DiscussPost getDiscussPost() {
        return discussPost;
    }

    public void setDiscussPost(DiscussPost discussPost) {
        this.discussPost = discussPost;
    }

    public User getPublishUser() {
        return publishUser;
    }

    public void setPublishUser(User publishUser) {
        this.publishUser = publishUser;
    }
}
